from setuptools import setup
from Cython.Build import cythonize

setup(
    ext_modules=cythonize(
        "hello.pyx",
        compiler_directives={"language_level": "3"},  # 指定 Python 3
        annotate=True,  # 生成优化报告
    ),
    extra_compile_args=["-O3"],  # C 编译器优化选项
)
